[PHP] converting mysql data into array?
Posted
by Mahmoud
on Stack Overflow
See other posts from Stack Overflow
or by Mahmoud
Published on 2010-05-05T01:14:18Z
Indexed on
2010/05/05
1:18 UTC
Read the original article
Hit count: 164
i have an ajax script that check if the user name is available or not, but it keeps taking the newest user name and the rest are out
$result = mysql_query("Select username from customer");
while ($row = mysql_fetch_array($result)){
$existing_users=array(''.$row['username'].',');
}
i know i am doing something worng
© Stack Overflow or respective owner